* vc-hooks.el (vc-dir-buffers): New var.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 Sep 2009 13:07:50 +0000 (13:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 Sep 2009 13:07:50 +0000 (13:07 +0000)
commita4b1f75841a72ea001e0070bb361f223bd0a2049
tree2cc16c907c61dbb1284bebd3647362e9849f09b2
parent566e58d8a42ac12cf078f450c109e6cc66ea45e1
* vc-hooks.el (vc-dir-buffers): New var.
(vc-state-refresh): New function.
(vc-state): Use it.
(vc-after-save): Always ask the backend to recompute the new state.
Always call vc-dir if necessary, using vc-dir-buffers.
* vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
Use vc-dir-buffers.
(vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
(vc-dir-prepare-status-buffer, vc-dir-update)
(vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
Don't call expand-file-name on default-directory.
lisp/ChangeLog
lisp/vc-dir.el
lisp/vc-hooks.el